package com.alex.maze.level;

import com.alex.maze.entities.PushingEntity;
import com.alex.maze.level.block.Block;

public class StartLevel extends Level
{
    protected void decorateBlock(int x, int y, Block block, int col)
    {
        if (col == 0xFFFF00)
        {
            block.messages = new String[]
            {
                "Use WASD or ",//
                "ARROW KEYS to move",//
                "YES!!! - da vidim kako se tekst izgleda"//
            };
        }
        if (col == 0xFFFF01)
        {
            block.messages = new String[]
            {
                "You are in the prison of DOOM",//
                "The prison of DOOM is a bad place",//
                "You need to escape the prison of DOOM!!!"// 
            };
        }
        if (col == 0xFFFF02)
        {
            block.messages = new String[]
            {
                "Press SPACE",//
                "To interact with the",//
                "environment!"// 
            };
        }
        if (col == 0xFFFF03)
        {
            block.messages = new String[]
            {
                "FREEDOM!!!!!",//
                "Ahem, yes one step closer!",//
                "By the way that was William Wallace reference xD"// 
            };
        }
        
        super.decorateBlock(x, y, block, col);
    }
    
    protected Block getBlock(int x, int y, int col)
    {
        //if (col == 0xAA5500)
        //{
        //    return new PushingBlock();
        //}
        return super.getBlock(x, y, col);
    }
}